package com.asp.alumnisystem.fragment;

import com.asp.alumnisystem.adapter.NoticeListAdapter;
import com.asp.alumnisystem.model.ForumModel;
import com.asp.alumnisystem.presenter.NoticeListPresenter;

/**
 * 首页公告页面
 */
public class NoticeFragment extends AspBaseFragment<ForumModel> {

    @Override
    protected void initView() {
        setTitleStr("公告");
        adapter = new NoticeListAdapter(recyclerView);
        recyclerView.setAdapter(adapter);
        presenter = new NoticeListPresenter(this);
        managerPresenter(presenter);
        onRefresh(null);
    }

    @Override
    protected void destroy() {

    }

}
